import axios from 'axios';

export interface ShelfLog {
  id?: number;
  userId?: number;
  shopIds?: number;
  shelfRuleId?: number;
  conditionPayload?: string;
  responsePayload?: string;
  createAt?: number;
}

export interface PickingLog {
  id?: number;
  url?: string;
  createAt?: number;
  username?: string;
}

export function apiListShelfLog(data: object) {
  return axios.post('/api/system/shelflog/list', data);
}

export function apiListPickingLog(data: object) {
  return axios.post('/api/system/pickinglog/list', data);
}
